package homework;

public class Work7 {
	
	public int[] getArray(int[] arr,int times) {
		for(int i = 0;i < times ;i++) {
			arr = new int[arr.length * 2];
		}
		return arr;
	}	
	public static void main(String[] args) {
		int[] arr = new int[1];
		Work7 h = new Work7();
		int[] arr2 = h.getArray(arr, 8);
		System.out.println(arr2.length);
	}
}
